import { sourceFormat, MeterialClipTypeContants } from '../../../../mixin/MixinContants'
export default [
  {
    label: '序号',
    prop: 'id',
    align: 'center'
  },
  {
    label: '媒体名称',
    prop: 'title',
    align: 'center'
  },
  {
    label: '类型',
    prop: 'type',
    align: 'center',
    render: (h, row) => {
      return (<span>{MeterialClipTypeContants.data[row.type].value}</span>)
    }
  },
  {
    label: '一级分类',
    prop: 'cateOneText',
    align: 'center'
  },
  {
    label: '二级分类',
    prop: 'cateTwoText',
    align: 'center'
  },
  {
    label: '关键字',
    prop: 'keywords',
    align: 'center'
  },
  {
    label: '时间',
    prop: 'addTime',
    align: 'center'
  },
  {
    label: '来源',
    prop: 'source',
    align: 'center',
    render: (h, row) => {
      return (<span>{sourceFormat.data[row.source].value}</span>)
    }
  }
]
